package io.noties.markwon.base.html

interface BlockHandler {
    fun <T> blockStart(
        out: T,
        node: HtmlTag,
        previousIsBlock: Boolean,
        preNode: HtmlTag?
    ) where T : Appendable, T : CharSequence

    fun <T> blockEnd(out: T, node: HtmlTag) where T : Appendable, T : CharSequence
}